package com.yunji.storage.service;

import com.yunji.storage.bo.AllocateListQueryBO;
import com.yunji.storage.bo.AllocateRemoveBO;
import com.yunji.storage.bo.AllocateSelectQueryBO;
import com.yunji.storage.domain.AllocateTicketDO;
import com.yunji.storage.vo.AllocateTicketVO;

import java.util.List;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.storage.service
 * @Title: IAllocateTicketService
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-08-20 15:05:55      V1.0        HuaAo       新建类
 */

public interface IAllocateTicketService {

    List<AllocateTicketVO> searchVOList(AllocateListQueryBO bo);

    boolean create(AllocateTicketDO allocateTicket);

    boolean update(AllocateTicketDO allocateTicket);

    AllocateTicketDO select(Long allocateId);

    AllocateTicketDO select(AllocateSelectQueryBO bo);

    boolean deleteDraft(Long... allocateIds);

    boolean deleteByTicket(AllocateRemoveBO bo);

}